package com.oa.ServiceImp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.oa.DaoInter.RoleUserInter;
import com.oa.ServiceInter.RoleUserService;
import com.oa.entity.RoleUser;


@Service 
public class RoleUserServiceImp implements RoleUserService {

	@Autowired  
    private RoleUserInter userdao;  
	
	public void saveUser(RoleUser user) {
		 userdao.save(user);  

	}

	@Override
	public List<RoleUser> find(String sql) {
		return userdao.find(sql);
	}

}
